﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections.Specialized;
using System.Runtime.Serialization;

namespace ERPStore.Exporter.Models
{
	[DataContract]
	public class Settings
	{
		public Settings()
		{
			AllowMissingDefaultImage = true;
			AllowZeroSalePrice = false;
			AllowNotSellable = false;
			AllowVariation = false;
			AllowNullLongDescription = true;
			AllowNullShortDescription = true;
			AllowNullStrengthsPoints = true;
			AllowStockEmpty = false;
			AllowVariant = true;
			Enabled = true;
			BarcodeMandatory = false;
			RestrictToOrdered = false;
			RestrictToOrderedBySource = false;
		}

		[DataMember]
		public string FileName { get; set; }
		[DataMember]
		public bool AllowMissingDefaultImage { get; set; }
		[DataMember]
		public bool AllowZeroSalePrice { get; set; }
		[DataMember]
		public bool AllowNotSellable { get; set; }
		[DataMember]
		public bool AllowVariation { get; set; }
		[DataMember]
		public bool AllowNullLongDescription { get; set; }
		[DataMember]
		public bool AllowNullShortDescription { get; set; }
		[DataMember]
		public bool AllowNullStrengthsPoints { get; set; }
		[DataMember]
		public bool AllowStockEmpty { get; set; }
		[DataMember]
		public bool AllowVariant { get; set; }
		[DataMember]
		public bool Enabled { get; set; }
		[DataMember]
		public bool BarcodeMandatory { get; set; }
		[DataMember]
		public bool RestrictToOrdered { get; set; }
		[DataMember]
		public bool RestrictToOrderedBySource { get; set; }
		[DataMember]
		public int ProductCount { get; set; }
		[DataMember]
		public decimal? MinimalSalePrice { get; set; }
		[DataMember]
		public decimal? MaximumSalePrice { get; set; }
	}
}
